﻿/******************************************************************************
 * Author:      671643387
 * Created:     2016/10/25
 *****************************************************************************/

 /// <summary>
 /// 用户信息
 /// </summary>
public class UserInfo
{
    ///////////////////////////////////////////////////////////////////////////
    //>> 变量

    /// <summary>
    /// 平台编号
    /// </summary>
    private string _openid;

    /// <summary>
    /// 用户编号
    /// </summary>
    private int _uid;

    /// <summary>
    /// 用户名
    /// </summary>
    private string _name;

    /// <summary>
    /// 用户头像
    /// </summary>
    private string _headpic;

    /// <summary>
    /// 用户性别
    /// </summary>
    private int _sex;

    /// <summary>
    /// 房卡
    /// </summary>
    private int _card;

    /// <summary>
    /// 积分
    /// </summary>
    private int _score;

    ///////////////////////////////////////////////////////////////////////////
    //>> 函数

    /// <summary>
    /// 构造函数
    /// </summary>
    public UserInfo()
    {
        _openid = null; _uid = 0;
        _name = null; _headpic = null;
        _sex = 0;
        _card = 0; _score = 0;
    }

    public string openid
    {
        get { return _openid; }
        set { _openid = value; }
    }

    public int uid
    {
        get { return _uid; }
        set { _uid = value; }
    }

    public string name
    {
        get { return _name; }
        set { _name = value; }
    }

    public string headpic
    {
        get { return _headpic; }
        set { _headpic = value; }
    }

    public int sex
    {
        get { return _sex; }
        set { _sex = value; }
    }

    public int card
    {
        get { return _card; }
        set { _card = value; }
    }

    public int score
    {
        get { return _score; }
        set { _score = value; }
    }
}